import request from '@/utils/request.js'
export function getDepartmentList(data){
    return request.get("hospital-serv/department/departmentList",data)
}
export function  softdelete(data){
    return request.post("hospital-serv/hospital/delDepartment/"+data);
}
export function getByCondition(data){
    return request.post("hospital-serv/hospital/condition",data);
}
export function addDepartments(data){
    return request.post("hospital-serv/hospital/saveAdd",data);
}
